package org.xidian.note.controller.note;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.xidian.note.entity.NoteResult;
import org.xidian.note.service.NoteService;
@Controller
@RequestMapping("/note")
public class ReplayNoteController {
  @Resource
  private NoteService noteService;
  @ResponseBody
  @RequestMapping("/replay.do")
  public NoteResult execute(String bookId, String noteId){
	  NoteResult result=noteService.replayNote(bookId, noteId);
	  return result;
  }
}
